package com.zygh.lz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Sign {

    @ApiModelProperty(value="签到ID", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value="签到岗位名")
    private String assignmentname;

    @ApiModelProperty(value="签到gps_x坐标")
    private String gpsx;

    @ApiModelProperty(value="签到gps_y坐标")
    private String gpsy;

    @ApiModelProperty(value="人员id", example = "1")
    private Integer staffid;

    @ApiModelProperty(value="人员名字")
    private String staffname;

    @ApiModelProperty(value="人员部门")
    private String sectionname;

    @ApiModelProperty(value="人员部门id")
    private String sectionid;

    @ApiModelProperty(value="签到时间")
    private String signintime;

    @ApiModelProperty(value="签退时间")
    private String signouttime;

    @ApiModelProperty(value="备注")
    private String comment;

    @ApiModelProperty(value="警号",required=true)
    private String warningsignal;

    @ApiModelProperty(value="任务id", example = "1")
    private int assignmentid;

    @ApiModelProperty(value="签退x坐标")
    private String gpsqtx;

    @ApiModelProperty(value="签退y坐标")
    private String gpsqty;

    @ApiModelProperty(value="状态 1-签到   2-签退", example = "1")
    private Integer state;

    @ApiModelProperty(value="迟到早退")
    private String clock;

    @ApiModelProperty(value="岗位")
    @TableField(exist = false)
    private String station;

    @ApiModelProperty(value = "推送签到id")
    private String qdid;

    @ApiModelProperty(value = "班次，上午班下午班")
    private String shiftop;

    @ApiModelProperty(value = "签到唯一标识")
    private String signnum;


    @ApiModelProperty(value = "勤务模式")
    private Integer modeCode;

    @ApiModelProperty(value = "长峰签到标识 0：未推送  1：签到推送成功 2：签退推送成功")
    private Integer cfstatus;


    @ApiModelProperty(value = "市局特殊勤务任务id")
    @TableField(exist = false)
    private String rwid;


}